Fix build breakage on non-Unix
authorTor Lillqvist <tml@iki.fi>
Wed, 9 Jun 2010 08:10:22 +0000 (11:10 +0300)
committerTor Lillqvist <tml@iki.fi>
Wed, 9 Jun 2010 08:10:22 +0000 (11:10 +0300)
gdesktopappinfo.h does is in gio-unix headers, so can compile
testapplication only on Unix.

tests/Makefile.am

index a7c970518b9ae71dce81d28dbc5a0a0cf1ced953..679262e15bb71fd965bee8199c420ba8995c27d6 100644 (file)
@@ -32,7 +32,6 @@ noinst_PROGRAMS =  $(TEST_PROGS)      \
        print-editor                    \
        extendedlayoutexample           \
        testaccel                       \
-       testapplication                 \
        testassistant                   \
        testbbox                        \
        testbuttons                     \
@@ -98,6 +97,10 @@ noinst_PROGRAMS =  $(TEST_PROGS)     \
        testtooltips                    \
        testvolumebutton
 
+if OS_UNIX
+noinst_PROGRAMS += testapplication
+endif
+
 if HAVE_CXX
 noinst_PROGRAMS += autotestkeywords
 TESTS = autotestkeywords